From: Jan Beulich Date: Wed, 27 Jun 2012 07:36:43 +0000 (+0200) Subject: docs/xen-headers: allow headers to be symlinks X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8284 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=8b96df45aa404163e272b9041af1611658a02f2c;p=xen.git docs/xen-headers: allow headers to be symlinks There's no apparent reason not to permit this, and since we don't support out-of-source-tree builds, the least overhead way of doing multiple, differently configured (perhaps different architecture) builds from a single source tree is to create symlinked build trees. Signed-off-by: Jan Beulich Acked-by: Ian Campbell --- diff --git a/docs/xen-headers b/docs/xen-headers index c4cf2e4f31..54155632c4 100755 --- a/docs/xen-headers +++ b/docs/xen-headers @@ -368,7 +368,7 @@ foreach $pass (qw(1 2)) { find({ wanted => sub { return unless m/\.h$/; - lstat $File::Find::name or die "$File::Find::name $!"; + stat $File::Find::name or die "$File::Find::name $!"; -f _ or die "$File::Find::name"; substr($File::Find::name, 0, 1+length $basedir) eq "$basedir/"